export interface clothesListParams {
  page: number;
  pageSize: number;
  name: string;
  elderlyName: string;
  state: string;
  beginDate: string;
  endDate: string;
  type: string;
}

export interface pictures {
  id: number;
  clotheId: number;
  file: string;
}

export interface clothesListData {
  id: number;
  companyId: number;
  elderlyId: number;
  title: string;
  content: string;
  type: string;
  state: string;
  addTime: string;
  addAccountId: number;
  addAccountName: string;
  begName: string;
  elderlyName: string;
  elderlyPhoto: string;
  elderlyGender: number;
  elderlyIdCard: number;
  houseName: string;
  buildingName: string;
  pictures: pictures[];
}
export interface clothesListReturn {
  counts: number;
  list: clothesListData[];
  pageSize: number;
}

// 添加
interface photo {
  file: string;
}
export interface clothesAddParams {
  id: number;
  elderlyId?: number;
  title: string;
  content: string;
  type: string;
  state: string;
  pictures: photo[] | string[];
}
